[BACK]Return to x509.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / openssl

Diff for /src/usr.bin/openssl/x509.c between version 1.7 and 1.8

version 1.7, 2015/09/21 13:13:06 version 1.8, 2015/09/21 13:32:55
Line 721 
Line 721 
   
                                 z = i2d_X509(x, NULL);                                  z = i2d_X509(x, NULL);
                                 m = malloc(z);                                  m = malloc(z);
                                   if (m == NULL) {
                                           BIO_printf(bio_err, "out of mem\n");
                                           goto end;
                                   }
   
                                 d = (unsigned char *) m;                                  d = (unsigned char *) m;
                                 z = i2d_X509_NAME(X509_get_subject_name(x), &d);                                  z = i2d_X509_NAME(X509_get_subject_name(x), &d);

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8