summaryrefslogtreecommitdiff
path: root/Cryptlib/OpenSSL/crypto/asn1/a_int.c
diff options
context:
space:
mode:
authorSteve Langasek <steve.langasek@canonical.com>2014-10-07 05:35:11 +0000
committerSteve Langasek <steve.langasek@canonical.com>2014-10-07 05:35:11 +0000
commit1e963007c0d9466726a8680e52a95955288d8927 (patch)
tree9345749af183fe511dfe6a24fb43b44a5feefcd9 /Cryptlib/OpenSSL/crypto/asn1/a_int.c
parente34fca619d8a75f3b67d59d45cdd9db4da2342e6 (diff)
downloadefi-boot-shim-1e963007c0d9466726a8680e52a95955288d8927.tar.gz
efi-boot-shim-1e963007c0d9466726a8680e52a95955288d8927.zip
debian/patches/0001-Update-openssl-to-0.9.8za.patch: cherry-pick
openssl 0.9.8za in via upstream.
Diffstat (limited to 'Cryptlib/OpenSSL/crypto/asn1/a_int.c')
-rwxr-xr-xCryptlib/OpenSSL/crypto/asn1/a_int.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cryptlib/OpenSSL/crypto/asn1/a_int.c b/Cryptlib/OpenSSL/crypto/asn1/a_int.c
index f551bdba..ee26c31b 100755
--- a/Cryptlib/OpenSSL/crypto/asn1/a_int.c
+++ b/Cryptlib/OpenSSL/crypto/asn1/a_int.c
@@ -116,7 +116,7 @@ int i2c_ASN1_INTEGER(ASN1_INTEGER *a, unsigned char **pp)
int pad=0,ret,i,neg;
unsigned char *p,*n,pb=0;
- if ((a == NULL) || (a->data == NULL)) return(0);
+ if (a == NULL) return(0);
neg=a->type & V_ASN1_NEG;
if (a->length == 0)
ret=1;