summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2025-12-11 13:05:22 +0000
committertb <>2025-12-11 13:05:22 +0000
commita8deb0e1be0f7a780a2353522fb5b0954325f0bb (patch)
tree8586651875fc913572d7bb4a3468230504b7cdc3
parent1e51b789b88a04886f648c8711c87555a21b855d (diff)
downloadopenbsd-a8deb0e1be0f7a780a2353522fb5b0954325f0bb.tar.gz
openbsd-a8deb0e1be0f7a780a2353522fb5b0954325f0bb.tar.bz2
openbsd-a8deb0e1be0f7a780a2353522fb5b0954325f0bb.zip
x509.h: add missing spaces after ,
-rw-r--r--src/lib/libcrypto/x509/x509.h126
1 files changed, 63 insertions, 63 deletions
diff --git a/src/lib/libcrypto/x509/x509.h b/src/lib/libcrypto/x509/x509.h
index 4148a6398e..28cad5149a 100644
--- a/src/lib/libcrypto/x509/x509.h
+++ b/src/lib/libcrypto/x509/x509.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509.h,v 1.124 2025/08/10 06:36:45 beck Exp $ */ 1/* $OpenBSD: x509.h,v 1.125 2025/12/11 13:05:22 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -297,7 +297,7 @@ extern "C" {
297 297
298#define X509_extract_key(x) X509_get_pubkey(x) /*****/ 298#define X509_extract_key(x) X509_get_pubkey(x) /*****/
299#define X509_REQ_extract_key(a) X509_REQ_get_pubkey(a) 299#define X509_REQ_extract_key(a) X509_REQ_get_pubkey(a)
300#define X509_name_cmp(a,b) X509_NAME_cmp((a),(b)) 300#define X509_name_cmp(a, b) X509_NAME_cmp((a), (b))
301 301
302int X509_CRL_up_ref(X509_CRL *x); 302int X509_CRL_up_ref(X509_CRL *x);
303int X509_CRL_get_signature_nid(const X509_CRL *crl); 303int X509_CRL_get_signature_nid(const X509_CRL *crl);
@@ -352,31 +352,31 @@ int X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md);
352int X509_CRL_sign_ctx(X509_CRL *x, EVP_MD_CTX *ctx); 352int X509_CRL_sign_ctx(X509_CRL *x, EVP_MD_CTX *ctx);
353int NETSCAPE_SPKI_sign(NETSCAPE_SPKI *x, EVP_PKEY *pkey, const EVP_MD *md); 353int NETSCAPE_SPKI_sign(NETSCAPE_SPKI *x, EVP_PKEY *pkey, const EVP_MD *md);
354 354
355int X509_pubkey_digest(const X509 *data,const EVP_MD *type, 355int X509_pubkey_digest(const X509 *data, const EVP_MD *type,
356 unsigned char *md, unsigned int *len); 356 unsigned char *md, unsigned int *len);
357int X509_digest(const X509 *data,const EVP_MD *type, 357int X509_digest(const X509 *data, const EVP_MD *type,
358 unsigned char *md, unsigned int *len); 358 unsigned char *md, unsigned int *len);
359int X509_CRL_digest(const X509_CRL *data,const EVP_MD *type, 359int X509_CRL_digest(const X509_CRL *data, const EVP_MD *type,
360 unsigned char *md, unsigned int *len); 360 unsigned char *md, unsigned int *len);
361int X509_REQ_digest(const X509_REQ *data,const EVP_MD *type, 361int X509_REQ_digest(const X509_REQ *data, const EVP_MD *type,
362 unsigned char *md, unsigned int *len); 362 unsigned char *md, unsigned int *len);
363int X509_NAME_digest(const X509_NAME *data,const EVP_MD *type, 363int X509_NAME_digest(const X509_NAME *data, const EVP_MD *type,
364 unsigned char *md, unsigned int *len); 364 unsigned char *md, unsigned int *len);
365#endif 365#endif
366 366
367X509 *d2i_X509_fp(FILE *fp, X509 **x509); 367X509 *d2i_X509_fp(FILE *fp, X509 **x509);
368int i2d_X509_fp(FILE *fp,X509 *x509); 368int i2d_X509_fp(FILE *fp, X509 *x509);
369X509_CRL *d2i_X509_CRL_fp(FILE *fp,X509_CRL **crl); 369X509_CRL *d2i_X509_CRL_fp(FILE *fp, X509_CRL **crl);
370int i2d_X509_CRL_fp(FILE *fp,X509_CRL *crl); 370int i2d_X509_CRL_fp(FILE *fp, X509_CRL *crl);
371X509_REQ *d2i_X509_REQ_fp(FILE *fp,X509_REQ **req); 371X509_REQ *d2i_X509_REQ_fp(FILE *fp, X509_REQ **req);
372int i2d_X509_REQ_fp(FILE *fp,X509_REQ *req); 372int i2d_X509_REQ_fp(FILE *fp, X509_REQ *req);
373#ifndef OPENSSL_NO_RSA 373#ifndef OPENSSL_NO_RSA
374RSA *d2i_RSAPrivateKey_fp(FILE *fp,RSA **rsa); 374RSA *d2i_RSAPrivateKey_fp(FILE *fp, RSA **rsa);
375int i2d_RSAPrivateKey_fp(FILE *fp,RSA *rsa); 375int i2d_RSAPrivateKey_fp(FILE *fp, RSA *rsa);
376RSA *d2i_RSAPublicKey_fp(FILE *fp,RSA **rsa); 376RSA *d2i_RSAPublicKey_fp(FILE *fp, RSA **rsa);
377int i2d_RSAPublicKey_fp(FILE *fp,RSA *rsa); 377int i2d_RSAPublicKey_fp(FILE *fp, RSA *rsa);
378RSA *d2i_RSA_PUBKEY_fp(FILE *fp,RSA **rsa); 378RSA *d2i_RSA_PUBKEY_fp(FILE *fp, RSA **rsa);
379int i2d_RSA_PUBKEY_fp(FILE *fp,RSA *rsa); 379int i2d_RSA_PUBKEY_fp(FILE *fp, RSA *rsa);
380#endif 380#endif
381#ifndef OPENSSL_NO_DSA 381#ifndef OPENSSL_NO_DSA
382DSA *d2i_DSA_PUBKEY_fp(FILE *fp, DSA **dsa); 382DSA *d2i_DSA_PUBKEY_fp(FILE *fp, DSA **dsa);
@@ -390,11 +390,11 @@ int i2d_EC_PUBKEY_fp(FILE *fp, EC_KEY *eckey);
390EC_KEY *d2i_ECPrivateKey_fp(FILE *fp, EC_KEY **eckey); 390EC_KEY *d2i_ECPrivateKey_fp(FILE *fp, EC_KEY **eckey);
391int i2d_ECPrivateKey_fp(FILE *fp, EC_KEY *eckey); 391int i2d_ECPrivateKey_fp(FILE *fp, EC_KEY *eckey);
392#endif 392#endif
393X509_SIG *d2i_PKCS8_fp(FILE *fp,X509_SIG **p8); 393X509_SIG *d2i_PKCS8_fp(FILE *fp, X509_SIG **p8);
394int i2d_PKCS8_fp(FILE *fp,X509_SIG *p8); 394int i2d_PKCS8_fp(FILE *fp, X509_SIG *p8);
395PKCS8_PRIV_KEY_INFO *d2i_PKCS8_PRIV_KEY_INFO_fp(FILE *fp, 395PKCS8_PRIV_KEY_INFO *d2i_PKCS8_PRIV_KEY_INFO_fp(FILE *fp,
396 PKCS8_PRIV_KEY_INFO **p8inf); 396 PKCS8_PRIV_KEY_INFO **p8inf);
397int i2d_PKCS8_PRIV_KEY_INFO_fp(FILE *fp,PKCS8_PRIV_KEY_INFO *p8inf); 397int i2d_PKCS8_PRIV_KEY_INFO_fp(FILE *fp, PKCS8_PRIV_KEY_INFO *p8inf);
398int i2d_PKCS8PrivateKeyInfo_fp(FILE *fp, EVP_PKEY *key); 398int i2d_PKCS8PrivateKeyInfo_fp(FILE *fp, EVP_PKEY *key);
399int i2d_PrivateKey_fp(FILE *fp, EVP_PKEY *pkey); 399int i2d_PrivateKey_fp(FILE *fp, EVP_PKEY *pkey);
400EVP_PKEY *d2i_PrivateKey_fp(FILE *fp, EVP_PKEY **a); 400EVP_PKEY *d2i_PrivateKey_fp(FILE *fp, EVP_PKEY **a);
@@ -402,19 +402,19 @@ int i2d_PUBKEY_fp(FILE *fp, EVP_PKEY *pkey);
402EVP_PKEY *d2i_PUBKEY_fp(FILE *fp, EVP_PKEY **a); 402EVP_PKEY *d2i_PUBKEY_fp(FILE *fp, EVP_PKEY **a);
403 403
404#ifndef OPENSSL_NO_BIO 404#ifndef OPENSSL_NO_BIO
405X509 *d2i_X509_bio(BIO *bp,X509 **x509); 405X509 *d2i_X509_bio(BIO *bp, X509 **x509);
406int i2d_X509_bio(BIO *bp,X509 *x509); 406int i2d_X509_bio(BIO *bp, X509 *x509);
407X509_CRL *d2i_X509_CRL_bio(BIO *bp,X509_CRL **crl); 407X509_CRL *d2i_X509_CRL_bio(BIO *bp, X509_CRL **crl);
408int i2d_X509_CRL_bio(BIO *bp,X509_CRL *crl); 408int i2d_X509_CRL_bio(BIO *bp, X509_CRL *crl);
409X509_REQ *d2i_X509_REQ_bio(BIO *bp,X509_REQ **req); 409X509_REQ *d2i_X509_REQ_bio(BIO *bp, X509_REQ **req);
410int i2d_X509_REQ_bio(BIO *bp,X509_REQ *req); 410int i2d_X509_REQ_bio(BIO *bp, X509_REQ *req);
411#ifndef OPENSSL_NO_RSA 411#ifndef OPENSSL_NO_RSA
412RSA *d2i_RSAPrivateKey_bio(BIO *bp,RSA **rsa); 412RSA *d2i_RSAPrivateKey_bio(BIO *bp, RSA **rsa);
413int i2d_RSAPrivateKey_bio(BIO *bp,RSA *rsa); 413int i2d_RSAPrivateKey_bio(BIO *bp, RSA *rsa);
414RSA *d2i_RSAPublicKey_bio(BIO *bp,RSA **rsa); 414RSA *d2i_RSAPublicKey_bio(BIO *bp, RSA **rsa);
415int i2d_RSAPublicKey_bio(BIO *bp,RSA *rsa); 415int i2d_RSAPublicKey_bio(BIO *bp, RSA *rsa);
416RSA *d2i_RSA_PUBKEY_bio(BIO *bp,RSA **rsa); 416RSA *d2i_RSA_PUBKEY_bio(BIO *bp, RSA **rsa);
417int i2d_RSA_PUBKEY_bio(BIO *bp,RSA *rsa); 417int i2d_RSA_PUBKEY_bio(BIO *bp, RSA *rsa);
418#endif 418#endif
419#ifndef OPENSSL_NO_DSA 419#ifndef OPENSSL_NO_DSA
420DSA *d2i_DSA_PUBKEY_bio(BIO *bp, DSA **dsa); 420DSA *d2i_DSA_PUBKEY_bio(BIO *bp, DSA **dsa);
@@ -428,11 +428,11 @@ int i2d_EC_PUBKEY_bio(BIO *bp, EC_KEY *eckey);
428EC_KEY *d2i_ECPrivateKey_bio(BIO *bp, EC_KEY **eckey); 428EC_KEY *d2i_ECPrivateKey_bio(BIO *bp, EC_KEY **eckey);
429int i2d_ECPrivateKey_bio(BIO *bp, EC_KEY *eckey); 429int i2d_ECPrivateKey_bio(BIO *bp, EC_KEY *eckey);
430#endif 430#endif
431X509_SIG *d2i_PKCS8_bio(BIO *bp,X509_SIG **p8); 431X509_SIG *d2i_PKCS8_bio(BIO *bp, X509_SIG **p8);
432int i2d_PKCS8_bio(BIO *bp,X509_SIG *p8); 432int i2d_PKCS8_bio(BIO *bp, X509_SIG *p8);
433PKCS8_PRIV_KEY_INFO *d2i_PKCS8_PRIV_KEY_INFO_bio(BIO *bp, 433PKCS8_PRIV_KEY_INFO *d2i_PKCS8_PRIV_KEY_INFO_bio(BIO *bp,
434 PKCS8_PRIV_KEY_INFO **p8inf); 434 PKCS8_PRIV_KEY_INFO **p8inf);
435int i2d_PKCS8_PRIV_KEY_INFO_bio(BIO *bp,PKCS8_PRIV_KEY_INFO *p8inf); 435int i2d_PKCS8_PRIV_KEY_INFO_bio(BIO *bp, PKCS8_PRIV_KEY_INFO *p8inf);
436int i2d_PKCS8PrivateKeyInfo_bio(BIO *bp, EVP_PKEY *key); 436int i2d_PKCS8PrivateKeyInfo_bio(BIO *bp, EVP_PKEY *key);
437int i2d_PrivateKey_bio(BIO *bp, EVP_PKEY *pkey); 437int i2d_PrivateKey_bio(BIO *bp, EVP_PKEY *pkey);
438EVP_PKEY *d2i_PrivateKey_bio(BIO *bp, EVP_PKEY **a); 438EVP_PKEY *d2i_PrivateKey_bio(BIO *bp, EVP_PKEY **a);
@@ -470,7 +470,7 @@ const char * X509_get_default_cert_file_env(void );
470const char * X509_get_default_private_dir(void ); 470const char * X509_get_default_private_dir(void );
471 471
472X509_REQ * X509_to_X509_REQ(X509 *x, EVP_PKEY *pkey, const EVP_MD *md); 472X509_REQ * X509_to_X509_REQ(X509 *x, EVP_PKEY *pkey, const EVP_MD *md);
473X509 * X509_REQ_to_X509(X509_REQ *r, int days,EVP_PKEY *pkey); 473X509 * X509_REQ_to_X509(X509_REQ *r, int days, EVP_PKEY *pkey);
474 474
475X509_ALGOR *X509_ALGOR_new(void); 475X509_ALGOR *X509_ALGOR_new(void);
476void X509_ALGOR_free(X509_ALGOR *a); 476void X509_ALGOR_free(X509_ALGOR *a);
@@ -497,17 +497,17 @@ EVP_PKEY * X509_PUBKEY_get(X509_PUBKEY *key);
497EVP_PKEY * X509_PUBKEY_get0(X509_PUBKEY *key); 497EVP_PKEY * X509_PUBKEY_get0(X509_PUBKEY *key);
498int X509_get_pubkey_parameters(EVP_PKEY *pkey, 498int X509_get_pubkey_parameters(EVP_PKEY *pkey,
499 STACK_OF(X509) *chain); 499 STACK_OF(X509) *chain);
500int i2d_PUBKEY(EVP_PKEY *a,unsigned char **pp); 500int i2d_PUBKEY(EVP_PKEY *a, unsigned char **pp);
501EVP_PKEY * d2i_PUBKEY(EVP_PKEY **a,const unsigned char **pp, 501EVP_PKEY * d2i_PUBKEY(EVP_PKEY **a, const unsigned char **pp,
502 long length); 502 long length);
503#ifndef OPENSSL_NO_RSA 503#ifndef OPENSSL_NO_RSA
504int i2d_RSA_PUBKEY(RSA *a,unsigned char **pp); 504int i2d_RSA_PUBKEY(RSA *a, unsigned char **pp);
505RSA * d2i_RSA_PUBKEY(RSA **a,const unsigned char **pp, 505RSA * d2i_RSA_PUBKEY(RSA **a, const unsigned char **pp,
506 long length); 506 long length);
507#endif 507#endif
508#ifndef OPENSSL_NO_DSA 508#ifndef OPENSSL_NO_DSA
509int i2d_DSA_PUBKEY(DSA *a,unsigned char **pp); 509int i2d_DSA_PUBKEY(DSA *a, unsigned char **pp);
510DSA * d2i_DSA_PUBKEY(DSA **a,const unsigned char **pp, 510DSA * d2i_DSA_PUBKEY(DSA **a, const unsigned char **pp,
511 long length); 511 long length);
512#endif 512#endif
513#ifndef OPENSSL_NO_EC 513#ifndef OPENSSL_NO_EC
@@ -583,8 +583,8 @@ int X509_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func,
583 CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); 583 CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func);
584int X509_set_ex_data(X509 *r, int idx, void *arg); 584int X509_set_ex_data(X509 *r, int idx, void *arg);
585void *X509_get_ex_data(X509 *r, int idx); 585void *X509_get_ex_data(X509 *r, int idx);
586int i2d_X509_AUX(X509 *a,unsigned char **pp); 586int i2d_X509_AUX(X509 *a, unsigned char **pp);
587X509 * d2i_X509_AUX(X509 **a,const unsigned char **pp,long length); 587X509 * d2i_X509_AUX(X509 **a, const unsigned char **pp, long length);
588 588
589int i2d_re_X509_tbs(X509 *x, unsigned char **pp); 589int i2d_re_X509_tbs(X509 *x, unsigned char **pp);
590 590
@@ -647,11 +647,11 @@ X509_INFO * X509_INFO_new(void);
647void X509_INFO_free(X509_INFO *a); 647void X509_INFO_free(X509_INFO *a);
648char * X509_NAME_oneline(const X509_NAME *a, char *buf, int size); 648char * X509_NAME_oneline(const X509_NAME *a, char *buf, int size);
649 649
650int ASN1_item_digest(const ASN1_ITEM *it,const EVP_MD *type,void *data, 650int ASN1_item_digest(const ASN1_ITEM *it, const EVP_MD *type, void *data,
651 unsigned char *md,unsigned int *len); 651 unsigned char *md, unsigned int *len);
652 652
653int ASN1_item_verify(const ASN1_ITEM *it, X509_ALGOR *algor1, 653int ASN1_item_verify(const ASN1_ITEM *it, X509_ALGOR *algor1,
654 ASN1_BIT_STRING *signature,void *data,EVP_PKEY *pkey); 654 ASN1_BIT_STRING *signature, void *data, EVP_PKEY *pkey);
655 655
656int ASN1_item_sign(const ASN1_ITEM *it, X509_ALGOR *algor1, X509_ALGOR *algor2, 656int ASN1_item_sign(const ASN1_ITEM *it, X509_ALGOR *algor1, X509_ALGOR *algor2,
657 ASN1_BIT_STRING *signature, 657 ASN1_BIT_STRING *signature,
@@ -692,7 +692,7 @@ int X509_get_signature_type(const X509 *x);
692#define X509_get_notBefore X509_getm_notBefore 692#define X509_get_notBefore X509_getm_notBefore
693#define X509_get_notAfter X509_getm_notAfter 693#define X509_get_notAfter X509_getm_notAfter
694 694
695int X509_REQ_set_version(X509_REQ *x,long version); 695int X509_REQ_set_version(X509_REQ *x, long version);
696long X509_REQ_get_version(const X509_REQ *x); 696long X509_REQ_get_version(const X509_REQ *x);
697int X509_REQ_set_subject_name(X509_REQ *req, X509_NAME *name); 697int X509_REQ_set_subject_name(X509_REQ *req, X509_NAME *name);
698X509_NAME *X509_REQ_get_subject_name(const X509_REQ *x); 698X509_NAME *X509_REQ_get_subject_name(const X509_REQ *x);
@@ -737,7 +737,7 @@ const ASN1_INTEGER *X509_REVOKED_get0_serialNumber(const X509_REVOKED *x);
737int X509_REVOKED_set_revocationDate(X509_REVOKED *r, ASN1_TIME *tm); 737int X509_REVOKED_set_revocationDate(X509_REVOKED *r, ASN1_TIME *tm);
738int X509_REVOKED_set_serialNumber(X509_REVOKED *x, ASN1_INTEGER *serial); 738int X509_REVOKED_set_serialNumber(X509_REVOKED *x, ASN1_INTEGER *serial);
739 739
740int X509_REQ_check_private_key(X509_REQ *x509,EVP_PKEY *pkey); 740int X509_REQ_check_private_key(X509_REQ *x509, EVP_PKEY *pkey);
741 741
742int X509_check_private_key(const X509 *x509, const EVP_PKEY *pkey); 742int X509_check_private_key(const X509 *x509, const EVP_PKEY *pkey);
743 743
@@ -762,29 +762,29 @@ unsigned long X509_NAME_hash_old(X509_NAME *x);
762 762
763int X509_CRL_cmp(const X509_CRL *a, const X509_CRL *b); 763int X509_CRL_cmp(const X509_CRL *a, const X509_CRL *b);
764int X509_CRL_match(const X509_CRL *a, const X509_CRL *b); 764int X509_CRL_match(const X509_CRL *a, const X509_CRL *b);
765int X509_print_ex_fp(FILE *bp,X509 *x, unsigned long nmflag, unsigned long cflag); 765int X509_print_ex_fp(FILE *bp, X509 *x, unsigned long nmflag, unsigned long cflag);
766int X509_print_fp(FILE *bp,X509 *x); 766int X509_print_fp(FILE *bp, X509 *x);
767int X509_CRL_print_fp(FILE *bp,X509_CRL *x); 767int X509_CRL_print_fp(FILE *bp, X509_CRL *x);
768int X509_REQ_print_fp(FILE *bp,X509_REQ *req); 768int X509_REQ_print_fp(FILE *bp, X509_REQ *req);
769int X509_NAME_print_ex_fp(FILE *fp, const X509_NAME *nm, int indent, 769int X509_NAME_print_ex_fp(FILE *fp, const X509_NAME *nm, int indent,
770 unsigned long flags); 770 unsigned long flags);
771 771
772#ifndef OPENSSL_NO_BIO 772#ifndef OPENSSL_NO_BIO
773int X509_NAME_print_ex(BIO *out, const X509_NAME *nm, int indent, 773int X509_NAME_print_ex(BIO *out, const X509_NAME *nm, int indent,
774 unsigned long flags); 774 unsigned long flags);
775int X509_print_ex(BIO *bp,X509 *x, unsigned long nmflag, unsigned long cflag); 775int X509_print_ex(BIO *bp, X509 *x, unsigned long nmflag, unsigned long cflag);
776int X509_print(BIO *bp,X509 *x); 776int X509_print(BIO *bp, X509 *x);
777int X509_ocspid_print(BIO *bp,X509 *x); 777int X509_ocspid_print(BIO *bp, X509 *x);
778int X509_CRL_print(BIO *bp,X509_CRL *x); 778int X509_CRL_print(BIO *bp, X509_CRL *x);
779int X509_REQ_print_ex(BIO *bp, X509_REQ *x, unsigned long nmflag, unsigned long cflag); 779int X509_REQ_print_ex(BIO *bp, X509_REQ *x, unsigned long nmflag, unsigned long cflag);
780int X509_REQ_print(BIO *bp,X509_REQ *req); 780int X509_REQ_print(BIO *bp, X509_REQ *req);
781#endif 781#endif
782 782
783int X509_NAME_entry_count(const X509_NAME *name); 783int X509_NAME_entry_count(const X509_NAME *name);
784int X509_NAME_get_text_by_NID(X509_NAME *name, int nid, 784int X509_NAME_get_text_by_NID(X509_NAME *name, int nid,
785 char *buf,int len); 785 char *buf, int len);
786int X509_NAME_get_text_by_OBJ(X509_NAME *name, 786int X509_NAME_get_text_by_OBJ(X509_NAME *name,
787 const ASN1_OBJECT *obj, char *buf,int len); 787 const ASN1_OBJECT *obj, char *buf, int len);
788 788
789/* NOTE: you should be passing -1, not 0 as lastpos. The functions that use 789/* NOTE: you should be passing -1, not 0 as lastpos. The functions that use
790 * lastpos, search after that position on. */ 790 * lastpos, search after that position on. */
@@ -902,9 +902,9 @@ ASN1_TYPE *X509_ATTRIBUTE_get0_type(X509_ATTRIBUTE *attr, int idx);
902int X509_verify_cert(X509_STORE_CTX *ctx); 902int X509_verify_cert(X509_STORE_CTX *ctx);
903 903
904/* lookup a cert from a X509 STACK */ 904/* lookup a cert from a X509 STACK */
905X509 *X509_find_by_issuer_and_serial(STACK_OF(X509) *sk,X509_NAME *name, 905X509 *X509_find_by_issuer_and_serial(STACK_OF(X509) *sk, X509_NAME *name,
906 ASN1_INTEGER *serial); 906 ASN1_INTEGER *serial);
907X509 *X509_find_by_subject(STACK_OF(X509) *sk,X509_NAME *name); 907X509 *X509_find_by_subject(STACK_OF(X509) *sk, X509_NAME *name);
908 908
909extern const ASN1_ITEM PBEPARAM_it; 909extern const ASN1_ITEM PBEPARAM_it;
910 910