diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2008-07-04 23:12:52 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2008-07-04 23:12:52 +0000 |
commit | d4cdbab99b8ead6ae2462d6b452f8b2462ca8733 (patch) | |
tree | 293758bf967241b3621e2cc8af8d52907c06ff07 /crypto/asn1 | |
parent | 5f834ab123af6444b7cffe21849e434ad6479f8a (diff) | |
download | openssl-d4cdbab99b8ead6ae2462d6b452f8b2462ca8733.zip openssl-d4cdbab99b8ead6ae2462d6b452f8b2462ca8733.tar.gz openssl-d4cdbab99b8ead6ae2462d6b452f8b2462ca8733.tar.bz2 |
Avoid warnings with -pedantic, specifically:
Conversion between void * and function pointer.
Value computed not used.
Signed/unsigned argument.
Diffstat (limited to 'crypto/asn1')
-rw-r--r-- | crypto/asn1/ameth_lib.c | 2 | ||||
-rw-r--r-- | crypto/asn1/x_name.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/asn1/ameth_lib.c b/crypto/asn1/ameth_lib.c index d155791..47cbdd2 100644 --- a/crypto/asn1/ameth_lib.c +++ b/crypto/asn1/ameth_lib.c @@ -94,7 +94,7 @@ static const EVP_PKEY_ASN1_METHOD *standard_methods[] = }; typedef int sk_cmp_fn_type(const char * const *a, const char * const *b); -DECLARE_STACK_OF(EVP_PKEY_ASN1_METHOD); +DECLARE_STACK_OF(EVP_PKEY_ASN1_METHOD) static STACK_OF(EVP_PKEY_ASN1_METHOD) *app_methods = NULL; diff --git a/crypto/asn1/x_name.c b/crypto/asn1/x_name.c index b46434c..c6658d7 100644 --- a/crypto/asn1/x_name.c +++ b/crypto/asn1/x_name.c @@ -64,7 +64,7 @@ #include "asn1_locl.h" typedef STACK_OF(X509_NAME_ENTRY) STACK_OF_X509_NAME_ENTRY; -DECLARE_STACK_OF(STACK_OF_X509_NAME_ENTRY); +DECLARE_STACK_OF(STACK_OF_X509_NAME_ENTRY) static int x509_name_ex_d2i(ASN1_VALUE **val, const unsigned char **in, long len, |