Use PendingInterestHandle and ScopedRegisteredPrefixHandle
Refs: #3919, #4316
Change-Id: I1cc5dcda07ae50e5c1afa067d1a00227f71c2233
diff --git a/src/decryptor.hpp b/src/decryptor.hpp
index d2d6406..edc6f2d 100644
--- a/src/decryptor.hpp
+++ b/src/decryptor.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
-/**
- * Copyright (c) 2014-2018, Regents of the University of California
+/*
+ * Copyright (c) 2014-2019, Regents of the University of California
*
* NAC library is free software: you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License as published by the Free Software
@@ -44,7 +44,7 @@
{
bool isRetrieved = false;
Buffer bits;
- const PendingInterestId* pendingInterest = nullptr;
+ optional<PendingInterestHandle> pendingInterest;
struct PendingDecrypt
{