Message ID | 20240109192647.1148715-1-amy.fong@siemens.com |
---|---|
State | Accepted |
Headers | show |
Series | gpg: fix broken build | expand |
Hi Amy, On 09.01.24 20:26, amy.fong.3142@gmail.com wrote: > From: Amy Fong <amy.fong@siemens.com> > > Fix syntax error in conditionally enabled definitions. > > Signed-off-by: Amy Fong <amy.fong@siemens.com> > --- > include/sslapi.h | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/include/sslapi.h b/include/sslapi.h > index 0dce615..83efd9f 100644 > --- a/include/sslapi.h > +++ b/include/sslapi.h > @@ -108,6 +108,11 @@ struct swupdate_digest { > #else > EVP_CIPHER_CTX *ctxdec; > #endif > +#ifdef CONFIG_SIGALG_GPG > + char *gpg_home_directory; > + int verbose; > + char *gpgme_protocol; > +#endif > }; > > #if OPENSSL_VERSION_NUMBER < 0x10100000L > @@ -159,7 +164,7 @@ struct swupdate_digest { > #endif /* CONFIG_PKCS11 */ > #ifdef CONFIG_SIGALG_GPG > char *gpg_home_directory; > - int verbose > + int verbose; > char *gpgme_protocol; > #endif > }; Applied to -master, thanks ! Best regards, Stefano Babic
diff --git a/include/sslapi.h b/include/sslapi.h index 0dce615..83efd9f 100644 --- a/include/sslapi.h +++ b/include/sslapi.h @@ -108,6 +108,11 @@ struct swupdate_digest { #else EVP_CIPHER_CTX *ctxdec; #endif +#ifdef CONFIG_SIGALG_GPG + char *gpg_home_directory; + int verbose; + char *gpgme_protocol; +#endif }; #if OPENSSL_VERSION_NUMBER < 0x10100000L @@ -159,7 +164,7 @@ struct swupdate_digest { #endif /* CONFIG_PKCS11 */ #ifdef CONFIG_SIGALG_GPG char *gpg_home_directory; - int verbose + int verbose; char *gpgme_protocol; #endif };