Develop and Download Open Source Software

Browse Subversion Repository

Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/key.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 8437 by doda, Fri Dec 13 03:11:16 2019 UTC revision 8554 by doda, Wed Feb 19 18:03:24 2020 UTC
# Line 239  static int openssh_RSA_verify(int type, Line 239  static int openssh_RSA_verify(int type,
239          }          }
240          decrypted = malloc(rsasize);          decrypted = malloc(rsasize);
241          if (decrypted == NULL)          if (decrypted == NULL)
242                  return 1; // error                  return 0; // error
243    
244          if ((len = RSA_public_decrypt(siglen, sigbuf, decrypted, rsa,          if ((len = RSA_public_decrypt(siglen, sigbuf, decrypted, rsa,
245                                        RSA_PKCS1_PADDING)) < 0) {                                        RSA_PKCS1_PADDING)) < 0) {

Legend:
Removed from v.8437  
changed lines
  Added in v.8554

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26