summaryrefslogtreecommitdiff
path: root/ext/openssl/ossl_asn1.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/openssl/ossl_asn1.c')
-rw-r--r--ext/openssl/ossl_asn1.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/openssl/ossl_asn1.c b/ext/openssl/ossl_asn1.c
index 3f50933aa41..7855b2ceb31 100644
--- a/ext/openssl/ossl_asn1.c
+++ b/ext/openssl/ossl_asn1.c
@@ -467,7 +467,6 @@ decode_time(unsigned char* der, int length)
static VALUE
decode_eoc(unsigned char *der, int length)
{
- VALUE ret;
if (length != 2 || !(der[0] == 0x00 && der[1] == 0x00))
ossl_raise(eASN1Error, NULL);
@@ -1036,7 +1035,7 @@ ossl_asn1_traverse(VALUE self, VALUE obj)
static VALUE
ossl_asn1_decode(VALUE self, VALUE obj)
{
- VALUE ret, ary;
+ VALUE ret;
unsigned char *p;
volatile VALUE tmp;
long len, read = 0, offset = 0;