ソースを参照

fix ssh tests when compiled w/o MPI provider

Steffen Jaeckel 6 年 前
コミット
f6f70aa2ec
1 ファイル変更2 行追加0 行削除
  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)
 {
+   if (ltc_mp.name == NULL) return CRYPT_NOP;
+
    DO(_ssh_encoding_test());
    DO(_ssh_decoding_test());