fixed a function prototype when encryption disabled
fixed a function prototype when encryption disabled

realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core