merge
This commit is contained in:
commit
9eeca04d87
1 changed files with 1 additions and 0 deletions
|
@ -2832,6 +2832,7 @@ pkcs1_decrypt(TlsSec *sec, Bytes *data)
|
|||
if(y == nil)
|
||||
return nil;
|
||||
data = mptobytes(y, (mpsignif(y)+7)/8);
|
||||
mpfree(y);
|
||||
if((data->len = pkcs1unpadbuf(data->data, data->len, sec->rsapub->n, 2)) < 0){
|
||||
freebytes(data);
|
||||
return nil;
|
||||
|
|
Loading…
Reference in a new issue