Fixed pluto smartcard support after introducing encryption schemes
This commit is contained in:
@@ -1451,7 +1451,7 @@ bool scx_encrypt(smartcard_t *sc, const u_char *in, size_t inlen, u_char *out,
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
key->encrypt(key, plain_text, &cipher_text);
|
||||
key->encrypt(key, ENCRYPT_RSA_PKCS1, plain_text, &cipher_text);
|
||||
key->destroy(key);
|
||||
|
||||
if (cipher_text.ptr == NULL)
|
||||
|
||||
Reference in New Issue
Block a user