(Vlad Glagolev) Submitted an OpenBSD port for fwknop-2.0.3
[fwknop.git] / extras / openbsd / patches / patch-server_replay_cache_c
1 --- server/replay_cache.c.orig  Wed Sep  5 06:04:48 2012
2 +++ server/replay_cache.c       Sat Sep  8 09:46:56 2012
3 @@ -565,7 +565,6 @@ is_replay_dbm_cache(fko_srv_options_t *opts, char *dig
4  #endif
5      datum       db_key, db_ent;
6  
7 -    char       *digest = NULL;
8      int         digest_len, res = SPA_MSG_SUCCESS;
9  
10      digest_cache_info_t dc_info;
11 @@ -638,7 +637,6 @@ add_replay_dbm_cache(fko_srv_options_t *opts, char *di
12  #endif
13      datum       db_key, db_ent;
14  
15 -    char       *digest = NULL;
16      int         digest_len, res = SPA_MSG_SUCCESS;
17  
18      digest_cache_info_t dc_info;
19 @@ -705,7 +703,7 @@ add_replay_dbm_cache(fko_srv_options_t *opts, char *di
20  
21      return(res);
22  #endif /* NO_DIGEST_CACHE */
23 -
24 +}
25  #endif /* USE_FILE_CACHE */
26  
27  #if USE_FILE_CACHE