commit | f484282e965a94c79ae0b05b8a33a282d9176ee9 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Thu Aug 22 16:03:41 2013 +0200 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Tue Aug 27 22:21:21 2013 +0200 |
tree | e995d5e5ed3f96f0b359581c682d33825e99aa8e | |
parent | d11eb7c789488e99c4833f9a847583b0e3f93a0d [diff] [blame] |
Rm a few unneeded tests
diff --git a/library/ssl_srv.c b/library/ssl_srv.c index c080865..ff914e5 100644 --- a/library/ssl_srv.c +++ b/library/ssl_srv.c
@@ -2029,7 +2029,7 @@ /* * Make the signature */ - if( ssl->pk_key == NULL || ssl->pk_key->pk_info == NULL ) + if( ssl->pk_key == NULL ) { SSL_DEBUG_MSG( 1, ( "got no private key" ) ); return( POLARSSL_ERR_SSL_PRIVATE_KEY_REQUIRED );