Revision 05f61fb27efaf1a3f4cfa1a8d4d62c34e3c8a0fe authored by Emilia Kasper on 25 August 2014, 10:38:16 UTC, committed by Emilia Kasper on 27 August 2014, 17:42:31 UTC
The old code implicitly relies on the ASN.1 code returning a \0-prefixed buffer when the buffer length is 0. Change this to verify explicitly that the ASN.1 string has positive length. Reviewed-by: Dr Stephen Henson <steve@openssl.org> (cherry picked from commit 82dc08de54ce443c2a9ac478faffe79e76157795)
1 parent 10be715
File | Mode | Size |
---|---|---|
asn1 | ||
bio | ||
cms | ||
easy_tls | ||
engines | ||
pkcs12 | ||
prime | ||
sign | ||
smime | ||
ssl | ||
ssltest-ecc | ||
state_machine | ||
tunala | ||
x509 | ||
README | -rw-r--r-- | 267 bytes |
b64.c | -rw-r--r-- | 7.1 KB |
b64.pl | -rw-r--r-- | 310 bytes |
privkey.pem | -rw-r--r-- | 497 bytes |
selfsign.c | -rw-r--r-- | 3.6 KB |
spkigen.c | -rw-r--r-- | 3.7 KB |

Computing file changes ...