change define
authorSchanzenbach, Martin <mschanzenbach@posteo.de>
Sat, 5 Oct 2019 20:31:39 +0000 (22:31 +0200)
committerSchanzenbach, Martin <mschanzenbach@posteo.de>
Sat, 5 Oct 2019 20:31:39 +0000 (22:31 +0200)
src/gnsrecord/gnsrecord_crypto.c

index c87adaa1b74a62c3ac8b2911acae32553f920992..b173062ffed2179f0d3be4338bccab3ac2294b62 100644 (file)
@@ -59,7 +59,7 @@ derive_block_aes_key (struct GNUNET_CRYPTO_SymmetricInitializationVector *iv,
  * We use the strings above as salt and the public key as IKM similar to
  * how derive_h is done in crypto_ecc.c.
  */
-#ifdef GNUNET_PROTOCOL_V12
+#ifdef LSD001
   GNUNET_CRYPTO_kdf (skey, sizeof(struct GNUNET_CRYPTO_SymmetricSessionKey),
                      ctx_key, strlen (ctx_key),
                      pub, sizeof(struct GNUNET_CRYPTO_EcdsaPublicKey),