Browse Source

fix ssh tests when compiled w/o MPI provider

Steffen Jaeckel 6 years ago
parent
commit
f6f70aa2ec
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tests/ssh_test.c

+ 2 - 0
tests/ssh_test.c

@@ -294,6 +294,8 @@ static int _ssh_decoding_test(void)
 */
 */
 int ssh_test(void)
 int ssh_test(void)
 {
 {
+   if (ltc_mp.name == NULL) return CRYPT_NOP;
+
    DO(_ssh_encoding_test());
    DO(_ssh_encoding_test());
    DO(_ssh_decoding_test());
    DO(_ssh_decoding_test());