commit | da7711594ece3bff0a8eceb7a8dc9360855544a0 | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Mon Sep 16 22:45:03 2013 +0200 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Mon Sep 16 22:45:03 2013 +0200 |
tree | 132f0b8dae9ef35e48d81bf1e40386053245ae6b | |
parent | ff3a518e780ce0a49820d514fd3104032e925af8 [diff] [blame] |
Changed pk_parse_get_pubkey() to pk_parse_subpubkey()
diff --git a/library/x509_crt.c b/library/x509_crt.c index 3c88b5e..8a3f13f 100644 --- a/library/x509_crt.c +++ b/library/x509_crt.c
@@ -663,7 +663,7 @@ /* * SubjectPublicKeyInfo */ - if( ( ret = pk_parse_get_pubkey( &p, end, &crt->pk ) ) != 0 ) + if( ( ret = pk_parse_subpubkey( &p, end, &crt->pk ) ) != 0 ) { x509_crt_free( crt ); return( ret );