Diff

Differences From Artifact [4068b9a871]:

To Artifact [34b943034f]:


   201    201   		*outbuf = x509.serial_number.asn1rep;
   202    202   	}
   203    203   
   204    204   	return(x509.serial_number.asn1rep_len);
   205    205   }
   206    206   
   207    207   static ssize_t x509_to_pubkey(void *x509_der_buf, size_t x509_der_buf_len, void **outbuf) {
   208         -	struct asn1_object null, pubkey, modulus, exponent;
   209    208   	struct x509_object x509;
   210    209   	int read_ret;
   211    210   
   212    211   	read_ret = asn1_x509_read_object(x509_der_buf, x509_der_buf_len, &x509);
   213    212   	if (read_ret != 0) {
   214    213   		return(-1);
   215    214   	}