]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - openssl.c
openssl: Assign bignums in canonical order.
[paraslash.git] / openssl.c
index 409807993d405a000fbf50f8a83b6638de6dd700..f696cd9e83606bc4e6bdd89d666f0885575f1d9f 100644 (file)
--- a/openssl.c
+++ b/openssl.c
@@ -216,11 +216,11 @@ static int read_openssh_private_key(const unsigned char *blob,
        rsa->n = n;
        rsa->e = e;
        rsa->d = d;
+       rsa->iqmp = iqmp;
        rsa->p = p;
        rsa->q = q;
        rsa->dmp1 = dmp1;
        rsa->dmq1 = dmq1;
-       rsa->iqmp = iqmp;
 #endif
        *result = rsa;
        ret = 1;