Update krb5 module to latest release
authorTomas Mraz <tomas@openssl.org>
Wed, 14 Apr 2021 13:12:52 +0000 (15:12 +0200)
committerBenjamin Kaduk <bkaduk@akamai.com>
Mon, 19 Apr 2021 18:46:39 +0000 (11:46 -0700)
Fixes #14902

Also add workaround of `sudo hostname localhost` for the
intermittent test failures seen in CI.

Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/14872)

.github/workflows/ci.yml
krb5
test/recipes/95-test_external_krb5.t
test/recipes/95-test_external_krb5_data/krb5.sh

index ee4a2c8f2b63e7cb2bea831081954788624f5682..ec35e84ff35887018ea924c2eb7e951ce8e570e2 100644 (file)
@@ -221,6 +221,8 @@ jobs:
       uses: perl-actions/install-with-cpanm@v1
       with:
         install: Test2::V0
+    - name: setup hostname workaround
+      run: sudo hostname localhost
     - name: config
       run: ./config --strict-warnings --debug no-afalgeng enable-rc5 enable-md2 enable-ssl3 enable-ssl3-method enable-weak-ssl-ciphers enable-zlib enable-ec_nistp_64_gcc_128 enable-external-tests && perl configdata.pm --dump
     - name: make
diff --git a/krb5 b/krb5
index 890ca2f401924cdcb88f493950b04700bbe52db3..3195e18f6608890866cf7a60ea538f4649d4fe82 160000 (submodule)
--- a/krb5
+++ b/krb5
@@ -1 +1 @@
-Subproject commit 890ca2f401924cdcb88f493950b04700bbe52db3
+Subproject commit 3195e18f6608890866cf7a60ea538f4649d4fe82
index dca2c065d38e6dd08affc5067a8f6173d98211a1..9b8067d5d1163728052173624d9566e9002e0c64 100644 (file)
@@ -17,7 +17,7 @@ setup("test_external_krb5");
 plan skip_all => "No external tests in this configuration"
     if disabled("external-tests");
 plan skip_all => "krb5 not available"
-    if ! -f srctop_file("krb5", "src", "configure.in");
+    if ! -f srctop_file("krb5", "src", "configure.ac");
 
 plan tests => 1;
 
index 6b267242f738eba3381a16023e7affa6cee14299..4c901bebf77d03c567884b2e78fb4516ad94338b 100755 (executable)
@@ -13,7 +13,7 @@ CFLAGS="-I`pwd`/$BLDTOP/include -I`pwd`/$SRCTOP/include"
 
 cd $SRCTOP/krb5/src
 autoreconf
-./configure --with-ldap --with-prng-alg=os --enable-pkinit \
+./configure --with-ldap --with-prng-alg=os --disable-pkinit \
             --with-crypto-impl=openssl --with-tls-impl=openssl \
             CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"