Skip to content

Commit

Permalink
additional gate for RSA
Browse files Browse the repository at this point in the history
  • Loading branch information
miyazakh committed Jan 30, 2024
1 parent b256522 commit bb81ad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal.c
Original file line number Diff line number Diff line change
Expand Up @@ -1034,6 +1034,7 @@ int IdentifyAsn1Key(const byte* in, word32 inSz, int isPrivate, void* heap)
}


#ifndef WOLFSSH_NO_RSA
/*
* Utility function to read an Mpint from the stream directly into a mp_int.
*/
Expand All @@ -1052,7 +1053,6 @@ static INLINE int GetMpintToMp(mp_int* mp,
}


#ifndef WOLFSSH_NO_RSA
/*
* For the given RSA key, calculate p^-1 and q^-1. wolfCrypt's RSA
* code expects them, but the OpenSSH format key doesn't store them.
Expand Down

0 comments on commit bb81ad0

Please sign in to comment.