[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.34 and 1.35

version 1.34, 2023/11/13 11:50:36 version 1.35, 2023/11/21 17:56:19
Line 86 
Line 86 
     X509 *x, X509 *xca, EVP_PKEY *pkey, STACK_OF(OPENSSL_STRING) *sigopts,      X509 *x, X509 *xca, EVP_PKEY *pkey, STACK_OF(OPENSSL_STRING) *sigopts,
     char *serial, int create, int days, int clrext, CONF *conf, char *section,      char *serial, int create, int days, int clrext, CONF *conf, char *section,
     ASN1_INTEGER *sno);      ASN1_INTEGER *sno);
 static int purpose_print(BIO *bio, X509 *cert, X509_PURPOSE *pt);  static int purpose_print(BIO *bio, X509 *cert, const X509_PURPOSE *pt);
   
 static struct {  static struct {
         char *alias;          char *alias;
Line 1022 
Line 1022 
                         }                          }
 #endif  #endif
                         else if (cfg.pprint == i) {                          else if (cfg.pprint == i) {
                                 X509_PURPOSE *ptmp;                                  const X509_PURPOSE *ptmp;
                                 int j;                                  int j;
   
                                 BIO_printf(STDout, "Certificate purposes:\n");                                  BIO_printf(STDout, "Certificate purposes:\n");
Line 1534 
Line 1534 
 }  }
   
 static int  static int
 purpose_print(BIO *bio, X509 *cert, X509_PURPOSE *pt)  purpose_print(BIO *bio, X509 *cert, const X509_PURPOSE *pt)
 {  {
         int id, i, idret;          int id, i, idret;
         char *pname;          const char *pname;
   
         id = X509_PURPOSE_get_id(pt);          id = X509_PURPOSE_get_id(pt);
         pname = X509_PURPOSE_get0_name(pt);          pname = X509_PURPOSE_get0_name(pt);

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.35