Commit fdddac90 authored by Manuel Pégourié-Gonnard's avatar Manuel Pégourié-Gonnard Committed by Paul Bakker
Browse files

Fix stupid bug in rsa_copy()

parent e01af4cd
......@@ -51,6 +51,7 @@ Bugfix
containing a client certificate
* ssl_init() was leaving a dirty pointer in ssl_context if malloc of
out_ctr failed
* Fix typo in rsa_copy() that impacted PKCS#1 v2 contexts
= PolarSSL 1.3.4 released on 2014-01-27
Features
......
......@@ -1381,7 +1381,7 @@ int rsa_copy( rsa_context *dst, const rsa_context *src )
#endif
dst->padding = src->padding;
dst->hash_id = src->padding;
dst->hash_id = src->hash_id;
cleanup:
if( ret != 0 )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment