diff options
Diffstat (limited to 'lib/libssl/src/crypto/asn1/a_bool.c')
-rw-r--r-- | lib/libssl/src/crypto/asn1/a_bool.c | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/lib/libssl/src/crypto/asn1/a_bool.c b/lib/libssl/src/crypto/asn1/a_bool.c index 41a95aa278b..18fa61840b4 100644 --- a/lib/libssl/src/crypto/asn1/a_bool.c +++ b/lib/libssl/src/crypto/asn1/a_bool.c @@ -58,15 +58,9 @@ #include <stdio.h> #include "cryptlib.h" -#include "asn1.h" +#include <openssl/asn1.h> -/* ASN1err(ASN1_F_D2I_ASN1_BOOLEAN,ASN1_R_EXPECTING_A_BOOLEAN); - * ASN1err(ASN1_F_D2I_ASN1_BOOLEAN,ASN1_R_BOOLEAN_IS_WRONG_LENGTH); - */ - -int i2d_ASN1_BOOLEAN(a,pp) -int a; -unsigned char **pp; +int i2d_ASN1_BOOLEAN(int a, unsigned char **pp) { int r; unsigned char *p; @@ -81,10 +75,7 @@ unsigned char **pp; return(r); } -int d2i_ASN1_BOOLEAN(a, pp, length) -int *a; -unsigned char **pp; -long length; +int d2i_ASN1_BOOLEAN(int *a, unsigned char **pp, long length) { int ret= -1; unsigned char *p; |