Diff

Differences From Artifact [6a950ab433]:

To Artifact [1388b83376]:


   207    207   
   208    208   static ssize_t x509_to_serial(void *x509_der_buf, size_t x509_der_buf_len, void **outbuf) {
   209    209   	struct x509_object x509;
   210    210   	int read_ret;
   211    211   
   212    212   	read_ret = asn1_x509_read_object(x509_der_buf, x509_der_buf_len, &x509);
   213    213   	if (read_ret != 0) {
   214         -		CACKEY_DEBUG_PRINTF("Unable to read serial number from a %lu byte buffer", x509_der_buf_len);
          214  +		CACKEY_DEBUG_PRINTF("Unable to read serial number from a %lu byte buffer", (unsigned long) x509_der_buf_len);
   215    215   		CACKEY_DEBUG_PRINTBUF("X.509 DER:", x509_der_buf, x509_der_buf_len);
   216    216   
   217    217   		return(-1);
   218    218   	}
   219    219   
   220    220   	if (outbuf) {
   221    221   		*outbuf = x509.serial_number.asn1rep;