From e763339789c4dfe4c1f360cdaea64281def40521 Mon Sep 17 00:00:00 2001 From: Jonathan Schleifer Date: Fri, 22 Nov 2013 21:15:54 +0100 Subject: [PATCH] Adjust exceptions to ObjFW API change. --- src/SSLInvalidCertificateException.h | 2 +- src/SSLInvalidCertificateException.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SSLInvalidCertificateException.h b/src/SSLInvalidCertificateException.h index 5e01af8..cb82170 100644 --- a/src/SSLInvalidCertificateException.h +++ b/src/SSLInvalidCertificateException.h @@ -30,7 +30,7 @@ } #ifdef OF_HAVE_PROPERTIES -@property (readonly, assign) OFString *reason; +@property (readonly, copy) OFString *reason; #endif + exceptionWithReason: (OFString*)reason; diff --git a/src/SSLInvalidCertificateException.m b/src/SSLInvalidCertificateException.m index bdaca18..1520299 100644 --- a/src/SSLInvalidCertificateException.m +++ b/src/SSLInvalidCertificateException.m @@ -74,6 +74,6 @@ - (OFString*)reason { - OF_GETTER(_reason, false) + OF_GETTER(_reason, true) } @end