Index: src/SSLInvalidCertificateException.h ================================================================== --- src/SSLInvalidCertificateException.h +++ src/SSLInvalidCertificateException.h @@ -28,11 +28,11 @@ { OFString *_reason; } #ifdef OF_HAVE_PROPERTIES -@property (readonly, assign) OFString *reason; +@property (readonly, copy) OFString *reason; #endif + exceptionWithReason: (OFString*)reason; - initWithReason: (OFString*)reason; - (OFString*)reason; Index: src/SSLInvalidCertificateException.m ================================================================== --- src/SSLInvalidCertificateException.m +++ src/SSLInvalidCertificateException.m @@ -72,8 +72,8 @@ @"Invalid certificate! Reason: %@", _reason]; } - (OFString*)reason { - OF_GETTER(_reason, false) + OF_GETTER(_reason, true) } @end