Register hmac/xcbc algorithms after potentially underlying PKCS#11
authorMartin Willi <martin@revosec.ch>
Tue, 20 Jul 2010 10:35:45 +0000 (12:35 +0200)
committerMartin Willi <martin@revosec.ch>
Wed, 4 Aug 2010 07:26:22 +0000 (09:26 +0200)
configure.in

index 40106eb..dc73e39 100644 (file)
@@ -760,13 +760,6 @@ fi
 if test x$fips_prf = xtrue; then
        libstrongswan_plugins=${libstrongswan_plugins}" fips-prf"
 fi
-if test x$xcbc = xtrue; then
-       libstrongswan_plugins=${libstrongswan_plugins}" xcbc"
-fi
-if test x$hmac = xtrue; then
-       libstrongswan_plugins=${libstrongswan_plugins}" hmac"
-       pluto_plugins=${pluto_plugins}" hmac"
-fi
 if test x$gmp = xtrue; then
        libstrongswan_plugins=${libstrongswan_plugins}" gmp"
        pluto_plugins=${pluto_plugins}" gmp"
@@ -777,6 +770,13 @@ fi
 if test x$pkcs11 = xtrue; then
        libstrongswan_plugins=${libstrongswan_plugins}" pkcs11"
 fi
+if test x$xcbc = xtrue; then
+       libstrongswan_plugins=${libstrongswan_plugins}" xcbc"
+fi
+if test x$hmac = xtrue; then
+       libstrongswan_plugins=${libstrongswan_plugins}" hmac"
+       pluto_plugins=${pluto_plugins}" hmac"
+fi
 if test x$xauth = xtrue; then
        pluto_plugins=${pluto_plugins}" xauth"
 fi