Browse Source

Temporairly shut down rsa analysis on idiana.

Michele Orrù 11 years ago
parent
commit
5aa6f22cfb
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/indiana.c
  2. 1 1
      src/questions/allquestions.c

+ 1 - 1
src/indiana.c

@@ -52,7 +52,7 @@ int main(int argc, char **argv)
 
     rsa = pkey->pkey.rsa;
     printf("%-10s: %s\n", SITE, site);
-    run_question(&MetadataQuestion, crt, rsa);
+    run_question(&MetadataQuestion, crt, NULL);
     X509_free(crt);
   }
 

+ 1 - 1
src/questions/allquestions.c

@@ -71,7 +71,7 @@ int run_question(qa_question_t *q, X509 *crt, RSA *pub)
   if (crt && q->ask_crt)
     q->ask_crt(crt);
   /* Attempt to attack the RSA public key */
-  if (q->ask_rsa &&
+  if (pub && q->ask_rsa &&
       (priv = q->ask_rsa(pub))) {
 #ifdef DEBUG
     PEM_write_RSAPrivateKey(stdout, priv, NULL, NULL, 0, NULL, NULL);