Skip to content

Commit

Permalink
ferr
Browse files Browse the repository at this point in the history
  • Loading branch information
Kissaki committed Mar 14, 2024
1 parent 040e6e5 commit 48c9717
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nss.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ size_t nss_encrypt(void *param, const size_t size, void *dst, const void *src) {
PRErrorCode errCode = PR_GetError();
PRInt32 errTextLen = PR_GetErrorTextLength();
char errText[errTextLen];
PR_GetErrorText(errText);
printf("nss_encrypt(): PK11_Encrypt() failed with error %d %s\n", errCode, errText);
PRInt32 bytesCopied = PR_GetErrorText(errText);
printf("nss_encrypt(): PK11_Encrypt() failed with error %d %d %d %s\n", errCode, errTextLen, bytesCopied, errText);
return 0;
}

Expand Down

0 comments on commit 48c9717

Please sign in to comment.