server: Do not fail if client does not request sideband.
[paraslash.git] / gcrypt.c
index ad38dcb..45a1c67 100644 (file)
--- a/gcrypt.c
+++ b/gcrypt.c
@@ -582,6 +582,7 @@ static int get_asn_public_key(const char *key_file, struct asymmetric_key **resu
        }
        key = para_malloc(sizeof(*key));
        key->sexp = sexp;
+       key->num_bytes = n_size;
        *result = key;
        ret = n_size;
        PARA_INFO_LOG("successfully read %u bit asn public key\n", n_size * 8);