diff options
author | jsing <> | 2016-12-21 15:15:45 +0000 |
---|---|---|
committer | jsing <> | 2016-12-21 15:15:45 +0000 |
commit | 2bf82d6a2f5736c3b836867840e3ec84075634ca (patch) | |
tree | 493b4792d75b73812948d6b2820c6b4e3b3e4689 /src/lib | |
parent | d27b27ec032705ab124d3547a20ddbe9d7597c22 (diff) | |
download | openbsd-2bf82d6a2f5736c3b836867840e3ec84075634ca.tar.gz openbsd-2bf82d6a2f5736c3b836867840e3ec84075634ca.tar.bz2 openbsd-2bf82d6a2f5736c3b836867840e3ec84075634ca.zip |
Remove prototypes from the public header for X509_VERIFY_PARAM functions
that were recently added but not intended to be made public at this stage.
Discussed with beck@
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/x509/x509_vfy.h | 6 | ||||
-rw-r--r-- | src/lib/libcrypto/x509/x509_vpm.c | 7 |
2 files changed, 7 insertions, 6 deletions
diff --git a/src/lib/libcrypto/x509/x509_vfy.h b/src/lib/libcrypto/x509/x509_vfy.h index 4b81e8a2cd..b58d49d2e1 100644 --- a/src/lib/libcrypto/x509/x509_vfy.h +++ b/src/lib/libcrypto/x509/x509_vfy.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_vfy.h,v 1.17 2016/11/05 20:14:59 beck Exp $ */ | 1 | /* $OpenBSD: x509_vfy.h,v 1.18 2016/12/21 15:15:45 jsing 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 | * |
@@ -541,10 +541,6 @@ int X509_VERIFY_PARAM_add0_policy(X509_VERIFY_PARAM *param, | |||
541 | ASN1_OBJECT *policy); | 541 | ASN1_OBJECT *policy); |
542 | int X509_VERIFY_PARAM_set1_policies(X509_VERIFY_PARAM *param, | 542 | int X509_VERIFY_PARAM_set1_policies(X509_VERIFY_PARAM *param, |
543 | STACK_OF(ASN1_OBJECT) *policies); | 543 | STACK_OF(ASN1_OBJECT) *policies); |
544 | int X509_VERIFY_PARAM_set1_email(X509_VERIFY_PARAM *param, const char *email, | ||
545 | size_t emaillen); | ||
546 | int X509_VERIFY_PARAM_set1_ip(X509_VERIFY_PARAM *param, const unsigned char *ip, | ||
547 | size_t iplen); | ||
548 | int X509_VERIFY_PARAM_get_depth(const X509_VERIFY_PARAM *param); | 544 | int X509_VERIFY_PARAM_get_depth(const X509_VERIFY_PARAM *param); |
549 | 545 | ||
550 | int X509_VERIFY_PARAM_add0_table(X509_VERIFY_PARAM *param); | 546 | int X509_VERIFY_PARAM_add0_table(X509_VERIFY_PARAM *param); |
diff --git a/src/lib/libcrypto/x509/x509_vpm.c b/src/lib/libcrypto/x509/x509_vpm.c index c71eeccc4c..3482227477 100644 --- a/src/lib/libcrypto/x509/x509_vpm.c +++ b/src/lib/libcrypto/x509/x509_vpm.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_vpm.c,v 1.14 2016/11/06 10:17:49 beck Exp $ */ | 1 | /* $OpenBSD: x509_vpm.c,v 1.15 2016/12/21 15:15:45 jsing Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2004. | 3 | * project 2004. |
4 | */ | 4 | */ |
@@ -70,6 +70,11 @@ | |||
70 | 70 | ||
71 | /* X509_VERIFY_PARAM functions */ | 71 | /* X509_VERIFY_PARAM functions */ |
72 | 72 | ||
73 | int X509_VERIFY_PARAM_set1_email(X509_VERIFY_PARAM *param, const char *email, | ||
74 | size_t emaillen); | ||
75 | int X509_VERIFY_PARAM_set1_ip(X509_VERIFY_PARAM *param, const unsigned char *ip, | ||
76 | size_t iplen); | ||
77 | |||
73 | #define SET_HOST 0 | 78 | #define SET_HOST 0 |
74 | #define ADD_HOST 1 | 79 | #define ADD_HOST 1 |
75 | 80 | ||