Ignore:
Timestamp:
May 18, 2014, 8:47:58 PM (8 years ago)
Author:
jordan
Message:

fix tr_cryptoGetTorrentHash() behavior for crypto-test.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/crypto.c

    r14241 r14282  
    283283{
    284284  assert (crypto);
    285   assert (crypto->torrentHashIsSet);
    286 
    287   return crypto->torrentHash;
     285
     286  return crypto->torrentHashIsSet ? crypto->torrentHash : NULL;
    288287}
    289288
Note: See TracChangeset for help on using the changeset viewer.